//2009/08/22 12:49:57
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

#define	PI		3.141592653589793

class DegreesToRadians
{
public:
    double convertToRadians(int degrees, int minutes, int seconds)
    {
		double sum = 1.0*degrees + (60.0*minutes+seconds) / 3600.0;
		return sum * PI / 180.0;
    }
};
